﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace FinosLibrary.Client {
    public static class Extensions {
        public static string AbsolutePath(this string item) {
            string s = Application.Current.Host.Source.AbsolutePath;
            s = s.Substring(0, s.LastIndexOf('/') + 1)+item;
            return s;
        }
    }
}
